A crowd of more than 22,000 at his home Sydney Cricket Ground rose for a final ovation as Warner left the field.
Pakistan wrapped up victory in the second session to go 1-0 up in the two-Test series.
Arshdeep Singh removed Pakistan's in-form openers Babar Azam and Mohammad Rizwan to give India a perfect start with the ball.
Bangladesh captain Mahmudullah took three wickets in the last over to finish with 3 for 10 from his solitary over.
England take a 1-0 lead in the three-match series.
Coming off a socio-economic crisis and the worst turmoil in its country's history, the Sri Lankan cricket team would like to provide the island nation with an emotional catharsis by beating fancied Pakistan in the Asia Cup final in Dubai on Sunday.
Hasaranga claimed three wickets in one over and Pramod Madushan claimed a career-best 4-34 to bowl out Pakistan for 147 in exactly 20 overs.
IMAGES from the ICC World Cup match played between Australia and Pakistan in Bengaluru, on Friday.
Pakistan beat New Zealand by five wickets in the final of a tri-series in Christchurch on Friday, giving themselves a timely boost ahead of the upcoming Twenty20 World Cup in Australia.
Pakistan captain Babar Azam offered consolation to team mate Hasan Ali whose costly mistake in the field allowed Matthew Wade to secure Australia's thrilling victory in the Twenty20 World Cup semi-final on Thursday.
Hafeez slams selectors for leaving Malik out of Pakistan's T20 World Cup squad
'That was proper (batting) from those two, it set the tone for how we want to play our cricket, take the game on.'
With the semi-final spot assured, Pakistan might look to rest a few players and give others opportunities in the inconsequential match.
Half-centuries from Mohammed Rizwan and Babar Azam helped Pakistan outclass Namibia by 45 runs to storm into the semi-finals of the T20 World Cup in Abu Dhabi on Tuesday.
IMAGES from the ICC World Cup match played between Afghanistan and Pakistan in Chennai on Monday.
Sarfaraz, Imad Wasim dropped from Pakistan white-ball squad vs Australia.
Australia declared their first innings on 556 for nine and then skittled out Pakistan for 148 to seize control of the second Test in Karachi on Monday.
Pakistan take a 3-2 lead in the seven-match series.
England's stand-in skipper Jos Buttler top-scored with 59 before their spinners ripped through the Pakistan batting unit to seal a 45-run win in the second Twenty20 International and level the series at 1-1 on Sunday.
IMAGES from the T20 World Cup Final played between Pakistan and England in Melbourne on Sunday.
Images from the T20 World Cup Super 12 Group 2 match between India and Pakistan, in Dubai, on Sunday.
PCB newly selected Chief Selector Inzamam Ul Haq announced squads for the upcoming ACC Men's Asia Cup and the three-match One-Day International series against Afghanistan.
Pakistan will aim to maintain their remarkable consistency against a spirited Namibia and seal a semi-final spot in the T20 World Cup in Abu Dhabi on Tuesday.
James Anderson claimed his fifth wicket as England enforced the follow-on against Pakistan on the third day of the third and final Test at the Rose Bowl on Sunday, despite a battling century by visiting skipper Azhar Ali.
KL Rahul has struggled at the top of the order, managing just 36 runs at a strike rate of 90 in the first two matches against Pakistan and Hong Kong.
Pakistan had been reduced to 76 for five in their second innings as South Africa's spinners made inroads through the top order having been bowled out for 201 in another shambolic display with the bat.
Images from the T20 World Cup Super 12s match between New Zealand and Pakistan, in Sharjah, on Tuesday.
Fast bowler Mohammad Wasim also returned to the World Cup squad after recovering fully from a side strain he suffered during the Asia Cup.
England were 7-1 at stumps with Ben Duckett (4) and Ollie Pope (3) batting together
'It's good to have someone with a lot of experience batting with you because he can take you through how to take the game on'
Azhar was named Test captain this month in place of Sarfaraz Ahmed whose spot as wicketkeeper has been taken by Mohammad Rizwan.
India, Pakistan, Sri Lanka, Afghanistan and Bangladesh can beat each other on their day
With bilateral cricket remaining suspended between the bitter neighbours, India and Pakistan play each other only in multi-team tournaments with their rivalry now a rare but enticing occasion for fans worldwide.
While Rohit Sharma will be eager to test his ultra-aggressive batting template against the Asian giants, for Virat Kohli it is the perfect platform to return to form after enduring a tough phase in the last few years.
Wet outfield caused dashed prospects of victory by either side in Australia's first Test in Pakistan in 24 years.
Srinivas Bhogle and Purnendu Maji present Rediff.com's Most Valuable Player Index of World Cup 2023 after the first 12 games.
All the 14 were being produced in local courts for a transit remand to Delhi where they would be questioned extensively by the NIA.
Srinivas Bhogle and Purnendu Maji present Rediff.com's Most Valuable Player Index after 23 World Cup 2023 games.
Former spinner Saqlain Mushtaq was named interim head coach following the resignation of Misbah ul-Haq.
New Zealand bundled out Pakistan on 297 in 83.5 overs.